package com.honour.service.interfaced.impl;

import java.util.List;




import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.system.dao.DaoSupport;
import com.system.util.PageData;
import com.honour.service.interfaced.MagazineInManager;

/**
@Function
@Author zhaozhenhua
@Date   2018年1月12日
*/
@Service("magazineInService")
public class MagazineInService implements MagazineInManager{
	
	@Resource(name = "daoSupport")
	private DaoSupport dao;

	/**
	 * 进入杂志首页获取相关杂志
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<PageData> getMagazinesByHome(PageData pd) throws Exception {
		return (List<PageData>)dao.findForList("MagazineInMapper.getMagazinesByHome", pd);
	}

}
